import './card.html'

import {Template} from 'meteor/templating';



Template.shop_card.helpers({
  foundedAt(){
    // let date = moment(this.foundedAt).format('YYYY年MMMMDD日, HH:mm:ss');
		return this.foundedAt;
  }
});
Template.shop_card.events({
	"click .card.shop-card"(event, instance){
		event.preventDefault();
    event.stopPropagation();
		Session.set('one-shop-show', this._id);
		$('.shop-modal').modal('show');
	}
});
